function foo(): boolean
{
  return true;
}

class C {
  static
  {
    foo();
  }

  public meth()
  {
    foo();
  }
}

export { C };

/*eslint brace-style: "error"*/

function foo()
{
  return true;
}

if (foo)
{
  bar();
}

try
{
  somethingRisky();
} catch(e)
{
  handleError();
}

if (foo) {
  bar();
}
else {
  baz();
}

class C
{
  static
  {
    foo();
  }
}